#include "MyTask.h"

 MyTask::MyTask(const std::string & msg)
:_msg(msg)
{

}

void MyTask::process(std::thread::id& tid)
{
    // do something
    std::cout<<"msg = "<<_msg<<"   process tid = "<<tid<<std::endl;
}